<template>
  <div id="app">
    <router-view v-if="isRouterAlive" />
  </div>
</template>
<script>
export default {
  name: "app",
  provide() {
    return {
      reload: this.reload
    };
  },
  data() {
    return {
      isRouterAlive: true
    };
  },
  methods: {
    reload() {
      this.isRouterAlive = false;
      this.$nextTick(() => {
        this.isRouterAlive = true;
      });
    }
  }
};

</script>
<style lang="scss">
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
}

html,
body {
  margin: 0;
  padding: 0;
}

.el-checkbox__label {
  color: #666666;
}

.el-form-item__error--inline {
  display: block;
}

.loginForm .el-input__inner {
  width: 100%;
  border: none;
  border-bottom: 1px solid #d0d2d3;
  border-color: #d0d2d3;
}

.el-checkbox__input.is-checked+.el-checkbox__label {
  color: #06c1ae;
}

.el-checkbox__input.is-focus .el-checkbox__inner {
  border-color: #06c1ae;
}

.el-checkbox__inner:hover {
  border-color: #06c1ae;
}

.el-checkbox__input.is-checked .el-checkbox__inner,
.el-checkbox__input.is-indeterminate .el-checkbox__inner {
  background-color: #06c1ae;
  border-color: #06c1ae;
}

.username .el-form-item.is-success .el-input__inner,
.el-form-item.is-success .el-form-item.is-success .el-textarea__inner,
.el-form-item.is-success {
  border-bottom: #06c1ae;
}

.el-dropdown {
  color: #fff;
}

.topSelect {
  .el-input {
    width: 100px;
    // background: #1bb8fa !important;

    .el-input__inner {
      border: none;
      background: #1bb8fa !important;
      color: #fff;

      &::-webkit-input-placeholder {
        /* placeholder颜色  */
        color: #fff;
        /* placeholder字体大小  */
        // font-size: 12px;
        /* placeholder位置  */
        // text-align: right;
      }
    }
  }
}

.done .el-progress__text {
  color: #fa7252;
}

.untreated .el-progress__text {
  color: #1cb162;
}

.waste .el-progress__text {
  color: #1bb8fa;
}

.el-progress__text {
  font-size: 30px !important;
}

.status {
  width: 140px;

  .el-form-item__content {
    width: 90px;
  }
}

.wasteType {
  width: 180px;

  .el-form-item__content {
    width: 110px;
  }
}

.el-aside {
  width: 200px !important;
}

.el-tree-node__content {
  height: 50px;
}

.el-button {
  margin-right: 5px;
}

.el-menu-item-group__title,
.el-menu-item {
  text-align: center;
}

.index {
  text-align: left;
}

// .organizationCode {
// .el-form-item__label {
// width: 120px !important;
// }
// }


.companyAdd {
  .el-form-item__content {}
}

.el-input-group__append {
  &:hover {
    cursor: pointer;
  }
}

.roleName {
  width: auto !important;
}

.wfCompany {
  width: 50%;
  margin: 0 auto;

  input {
    border: none !important;
  }
}

</style>
